package com.mh.study.jackson.annotations;

import com.fasterxml.jackson.annotation.JsonAlias;

/**
 * @author meng.han
 * @since 2021-11-26
 */
public class AliasBean {

    @JsonAlias({ "fName", "f_name" })
    private String firstName;
    private String lastName;

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }
}
